import request from '@/utils/request'

export function getWorkflowTask(code) {
  return request({
    url: 'workflow/tasks/' + code,
    method: 'get'
  })
}

export function modifyTask(code, data) {
  return request({
    url: 'workflow/modify/' + code,
    method: 'post',
    data: data
  })
}
